package com.br.homebank.entities;

import java.util.ArrayList;
import java.util.List;

import com.br.generateswingview.annotations.Alias;
import com.br.generateswingview.annotations.Ignore;

public abstract class Account {
	@Alias( value = "Cliente" )
	private Client client;
	private int number;
	@Ignore
	private double balance;
	@Ignore
	private List<Extract> extract;

	public Account( Client client ) {
		extract = new ArrayList<Extract>();
		this.client = client;
	}

	public Client getClient() {
		return client;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber( int number ) {
		this.number = number;
	}

	public double getBalance() {
		return balance;
	}

	public List<Extract> getExtract() {
		return extract;
	}
}
